package com.example.uCenter.user.controller;


import com.example.uCenter.common.Result;
import com.example.uCenter.user.service.IAppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author hhl
 * @since 2022-08-29 08:38:53
 */
@CrossOrigin //跨域
@RestController
@RequestMapping("/user/app")
public class AppController {

    @Autowired
    IAppService apps;

    @GetMapping("/paging")
    public Result UserPaging(@RequestParam Integer current, @RequestParam Integer size) {
        return apps.findPaging(current, size);
    }
}

